		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
          <h1 class="page-header">
          	文档中心
          	<span class="glyphicon glyphicon-cloud-upload" aria-hidden="true" data-toggle="modal" data-target="#uploadDocumentModal" style="float: right;"></span>
          </h1>
          <div class="table-responsive">
            <table class="table table-striped">
              <thead>
                <tr>
                  <!-- <th><input type="checkBox" name="" id=""/></th> -->
                  <th>#ID</th>
                  <th>文档名称</th>
                  <th>文档描述</th>
                  <th>文档版本</th>
                  <th>创建时间</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody id="apkTbody">
              <#if documenList??>
              		<#list documenList as dList>
		              	<tr >
		              	 <!--  <td><input type="checkBox" name="${aList.apk_id}" id="${aList.apk_id}" onclick="project.index.initDelScripts(this);"/></td> -->
		                  <td>${dList_index}</td>
		                  <td>${dList.documentName}</td>
		                  <td>${dList.documentDesc}</td>
		                   <td>${dList.documentVersion}</td>
		                  <td>${dList.createTime}</td>
		                  <input type="hidden" value="" id="savePath"/>
		                  <td>
		                  	<div>
		                  	<!-- Button trigger modal -->
		                  	<button type="button" id="${dList.documentPath}" class="btn btn-primary" onclick="project.index.downLoadDoc(this.id);">
							 	下载
							</button>
							<button type="button" id="${dList.documentId}" class="btn btn-primary" onclick="project.index.initDelDocModal(this);">
							 	 删除
							</button>
		    			  </div>
		    			 </td>
		                </tr>
              		</#list>
              </#if>
              </tbody>
            </table>
          </div>
        </div>
		<div class="pull-right pagination">
		    <ul class="pagination" style="" id='bp-doc-element'></ul>
		</div>	

<!-- 上传文档 -->
<div class="modal fade" id="uploadDocumentModal" tabindex="-1" role="dialog" aria-labelledby="uploadDocumentLabel" aria-hidden="true" data-backdrop="static">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="uploadDocumentLabel">上传文件</h4>
      </div>
      <div class="modal-body">
        <!-- begin -->
        <fieldset>
             <div class="form-group">
                <label class="col-sm-3 control-label">上传文件:</label>
                <div class="col-sm-8">
                	<input class="form-control" type="file" id="docFile" name="fileInput" >
                </div>
             </div>
             <div class="form-group">
                <label class="col-sm-3 control-label">文件名称：</label>
                <div class="col-sm-8">
                     <input class="form-control" type="text" id="documentName" placeholder="文件名称"/>
                  </div>
               </div>
               <div class="form-group">
                <label class="col-sm-3 control-label">版本号：</label>
                <div class="col-sm-8">
                     <input class="form-control" type="text" id="documentVersion" placeholder="版本号"/>
                  </div>
               </div>
               <div class="form-group">
                <label class="col-sm-3 control-label">文件描述：</label>
                <div class="col-sm-8">
                     <input class="form-control" type="text" id="documentDesc" placeholder="文件描述"/>
                  </div>
               </div>
          </fieldset>
        <!-- end -->
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" onclick="file.index.uploadDocFile();">保存</button>
      </div>
    </div>
  </div>
</div>
<!-- 删除项目 Modal -->
<div class="modal fade" id="delDocModal" tabindex="-1" role="dialog" aria-labelledby="delDocLabel" aria-hidden="true" data-backdrop="static">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="delDocLabel">删除文件</h4>
      </div>
      <div class="modal-body">
        	确定删除文件？
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary" onclick="project.index.deleteDocById();">删除</button>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">
	project.index.productParams.totalPages = ${totalPages};
</script>